

		<extend file='resource/home/common/common'/>
		<block name="content">
			<main class="col-md-8">
				<article class="_carousel">
					<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
						<!-- Indicators -->
						<ol class="carousel-indicators">
							<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
							<li data-target="#carousel-example-generic" data-slide-to="1"></li>
							<li data-target="#carousel-example-generic" data-slide-to="2"></li>
						</ol>

						<!-- Wrapper for slides -->
						<div class="carousel-inner" role="listbox">
							<div class="item active">
								<a href="http://{{$lunbo[0]['lb_url']}}">
									<img src="{{__ROOT__}}/{{$lunbo[0]['lb_img']}}">
								</a>
							</div>

							<div class="item">
								<a href="http://{{$lunbo[1]['lb_url']}}">
									<img src="{{__ROOT__}}/{{$lunbo[1]['lb_img']}}">
								</a>
							</div>

							<div class="item">
								<a href="{{$lunbo[2]['lb_url']}}">
									<img src="{{__ROOT__}}/{{$lunbo[2]['lb_img']}}">
								</a>
							</div>
						</div>

						<!-- Controls -->
						<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
							<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
						</a>
						<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
							<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
						</a>
					</div>
				</article>
				<?php foreach($articles['data'] as $k=>$v){?>
				<article>
					<div class="_head">
						<h1>{{$v['title']}}</h1>
								<span>
								作者：
								{{$v['author']}}
								</span>
						•
						<!--pubdate表⽰示发布⽇日期-->
						<time pubdate="pubdate" datetime="{{date('Y年m月d日 H:i:s'),$v['pubtime']}}">{{date('Y年m月d日 H:i:s',$v['pubtime'])}}</time>
						•
						分类：
						<a href="{{__ROOT__}}/listcid/{{$v['cid']}}.html">{{$v['cname']}}</a>
					</div>
					<div class="_digest">
						<img height="300" src="{{$v['thumb']}}"  class="img-responsive"/>
						<p>
							{{$v['digest']}}
						</p>
					</div>
					<div class="_more">
						<a href="{{__ROOT__}}/content/{{$v['aid']}}.html" class="btn btn-default">阅读全文</a>
					</div>
					<div class="_footer">
						<i class="glyphicon glyphicon-tags"></i>
						<?php foreach($v['tags'] as $kk=>$vv){?>
						<a href="{{__ROOT__}}/listtid/{{$vv['tid']}}.html">{{$vv['tname']}}</a>、
						<?php }?>
					</div>
				</article>
				<?php }?>
				{{$articles['page']}}
			</main>
		</block>
